package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

@Service
public interface StoreService {
	
	// 新增店铺
	void save(StoreParam param) throws BusinessException;
	
	// 分页查询店铺列表
	PageResult<StoreVO> getPageList(StoreQuery query) throws BusinessException;
	
	// 分页查询区域下店铺列表
	PageResult<StoreVO> getStoreByCity(AreaStoreQuery query) throws BusinessException;
	
}
